package com.tlgen.model;

import com.tlgen.annotation.ConfigFieldProperties;
import com.tlgen.annotation.Value;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigFieldProperties(prefix = "ding")
public class DingTalk {

    @Value("${ding.appKey}")
    private String appKey = "112";

    @Value("${ding.accessToken}")
    private String accessToken = "xxy";

    @Value("${custom.user.animal.type}")
    private String animal = "dog";

}
